#ifndef QEWIDGET_H
#define QEWIDGET_H

#include <QWidget>
#include <QPainter>
#include <QPaintEvent>
#include <QImage>
#include <QLinearGradient>
#include <QColor>


class QEWidget : public QWidget {
    Q_OBJECT
    public :
            QEWidget(bool HS= false, bool Position=false,int Colorset = 0,QWidget * parent = 0);
            ~QEWidget();
            void setColor(int Colorset);
            void setOSize(bool HS, bool oP=false);
    protected :
            void paintEvent(QPaintEvent * event);

    private :
        int colorset,w,x;
        bool halfSize, oPosition;

};

#endif // QEWIDGET_H
